package com.zjjc.QZEnergy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zjjc.QZEnergy.domain.HeatData;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.Date;

@Mapper
public interface HeatDataMapper extends BaseMapper<HeatData> {

    void insertRecords(String jsonStr, String response, String url, String appId,Date date);

    HeatData selectHeatData(Date start, Date end, String station);

    ArrayList<HeatData> selectCompanyListByType(String type);

    HeatData selectHeatDataExceptZero(Date start, Date end, String station);
}
